package util.utilitarioMail;

import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;

/**
 * @author luciano
 *
 */
public class PopAuthentication extends Authenticator{

	public PasswordAuthentication getPassword(){

		PropertiesMail ppm = new PropertiesMail();
		return new PasswordAuthentication(ppm.getAccountUser(), ppm.getAccountPassword());		

	} 

}
